package com.js.purs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 采购计划.审批通过后生成招标项目对象 pur_prod_plan
 * 
 * @author lzq
 * @date 2024-06-11
 */
public class PurProdPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划编码 */
    @Excel(name = "计划编码")
    private String planCode;

    /** 计划名称 */
    @Excel(name = "计划名称")
    private String planName;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String busiType;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creater;

    /** 创建部门 */
    private String deptName;

    /** 上传附件 */
    private Long loadFileId;

    /** 审批状态 */
    private String status;

    /** 采购方式 */
    private String prodMethod;

    /** 计划类型 */
    @Excel(name = "计划类型")
    private String planType;


    /** 创建时间 */
    private Date creatTime;

    private List<PurProdBudget> purProdBudget;

    private List<PurProdPlanFile> purProdPlanFiles;

    public List<PurProdPlanFile> getPurProdPlanFiles() {
        return purProdPlanFiles;
    }

    public void setPurProdPlanFiles(List<PurProdPlanFile> purProdPlanFiles) {
        this.purProdPlanFiles = purProdPlanFiles;
    }

    public List<PurProdBudget> getPurProdBudget() {
        return purProdBudget;
    }

    public void setPurProdBudget(List<PurProdBudget> purProdBudget) {
        this.purProdBudget = purProdBudget;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public void setPlanCode(String planCode)
    {
        this.planCode = planCode;
    }

    public String getPlanCode() 
    {
        return planCode;
    }
    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }
    public void setBusiType(String busiType) 
    {
        this.busiType = busiType;
    }

    public String getBusiType() 
    {
        return busiType;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setLoadFileId(Long loadFileId) 
    {
        this.loadFileId = loadFileId;
    }

    public Long getLoadFileId() 
    {
        return loadFileId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setProdMethod(String prodMethod) 
    {
        this.prodMethod = prodMethod;
    }

    public String getProdMethod() 
    {
        return prodMethod;
    }
    public void setPlanType(String planType) 
    {
        this.planType = planType;
    }

    public String getPlanType() 
    {
        return planType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planCode", getPlanCode())
            .append("planName", getPlanName())
            .append("busiType", getBusiType())
            .append("creater", getCreater())
            .append("deptName", getDeptName())
            .append("loadFileId", getLoadFileId())
            .append("status", getStatus())
            .append("prodMethod", getProdMethod())
            .append("planType", getPlanType())
            .toString();
    }
}
